package com.zcoj.service;

import com.zcoj.core.model.PageData;
import com.zcoj.core.model.PageWrap;
import com.zcoj.pojo.Dto.Problem;
import com.zcoj.pojo.Vo.ProblemPageVO;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;

@CacheConfig(cacheNames = "ProblemVoService")
public interface ProblemVoService {


    @Cacheable(key = "#p0.toString()+'findComponentPageVO'")
    PageData<ProblemPageVO> findComponentPageVO(PageWrap<Problem> pageWrap);
}
